package com.ocn.li.scmdy.modules.app.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;

@Entity
@org.hibernate.annotations.Table(comment = "轨迹管理", appliesTo = "base_log")
@Table(name = "base_log")
public class BaseLog extends Base {
	private static final long serialVersionUID = 1L;
	
	
	
	//private String id;
	private String ml_id;
	private String bsid;//基础人口id
	private String state;//状态  0 基础信息  1 刑满释放人员 2 社区矫正人员
	private String account;//账号
	private String time;//操作时间
	private String operate;//操作
	private String detail;
	private String operateDetail;
	
	
	@Column(name="ML_ID",length = 36)
	@FieldInfo(comment = "目录id")
	public String getMl_id() {
		return ml_id;
	}
	public void setMl_id(String ml_id) {
		this.ml_id = ml_id;
	}
	@Column(name="ACCOUNT_NAME",length = 36)
	@FieldInfo(comment = "登录账号")
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	
	@Column(name="time",length = 50)
	@FieldInfo(comment = "操作时间")
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	
	@Column(name="Operate",length = 50)
	@FieldInfo(comment = "操作")
	public String getOperate() {
		return operate;
	}
	public void setOperate(String operate) {
		this.operate = operate;
	}
	
	@Column(name="Detail",length = 36)
	@FieldInfo(comment = "详情")
	public String getDetail() {
		return detail;
	}
	public void setDetail(String detail) {
		this.detail = detail;
	}
	
	
	@Lob
	@Column(name = "OperateDetail", length = 10000)
	@FieldInfo(comment = "更新内容")
	public String getOperateDetail() {
		return operateDetail;
	}
	public void setOperateDetail(String operateDetail) {
		this.operateDetail = operateDetail;
	}
	
	@Column(name = "bs_id",length = 36)
	@FieldInfo(comment = "基础人口id")
	public String getBsid() {
		return bsid;
	}
	public void setBsid(String bsid) {
		this.bsid = bsid;
	}
	
	@Column(name = "state",length = 10)
	@FieldInfo(comment = "状态")
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	

}
